module.exports = {
    locales: {
        '/': {
            lang: 'en-CN',
            description: 'As long as you live, you will make a difference'
        }
    },
    title:"Mine-Blog",
    head: [
        ["link", { rel: "icon", href: "/head.png" }],
        ['meta', {
            name: 'viewport',
            content: 'width=device-width,initial-scale=1,user-scalable=no'
        }]
    ],
    base: '/my-blog/',
    description: 'Just playing around',
    theme: "reco",
    themeConfig: {
        type: 'blog',
        authorAvatar: '/author.jpeg',
        sidebar: 'auto',
        sidebarDepth: 2,
        author: 'dengjunxi',
        blogConfig: {
            category: {
                location: 2, // 在导航栏菜单中所占的位置，默认2
                text: 'Category' // 默认文案 “分类”
            },
            tag: {
                location: 3, // 在导航栏菜单中所占的位置，默认3
                text: 'Tag' // 默认文案 “标签”
            }
        },
        nav: [{
                text: 'Home',
                link: '/',
                icon: 'reco-home'
            },
            {
                text: 'External',
                items: [{
                    text: '掘金',
                    icon: 'reco-juejin',
                    link: 'https://juejin.im/timeline'
                }, {
                    text: 'GitHub',
                    icon: 'reco-github',
                    link: 'https://github.com/'
                }, {
                    text: '码云',
                    icon: 'reco-mayun',
                    link: 'https://gitee.com/'
                }]
            },
        ],
        friendLink: [{
                title: 'vuepress-theme-reco',
                desc: 'A simple and beautiful vuepress Blog & Doc theme.',
                logo: "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
                link: 'https://vuepress-theme-reco.recoluan.com'
            },
            {
                title: '午后南杂',
                desc: 'Enjoy when you can, and endure when you must.',
                email: 'recoluan@qq.com',
                link: 'https://www.recoluan.com'
            }
        ],
        logo: '/head.png',
        markdown: {
            lineNumbers: true //代码显示行号
        }
    },
    // 搜索设置
    search: true,
    searchMaxSuggestions: 10,
    fullscreen: true,
    plugins: [
        ["flowchart"], // 支持流程图
        [
            "@vuepress-reco/vuepress-plugin-bgm-player", // BGM播放器
            {
                audios: [
                    {
                        name: "鱼可能不香",
                        artist: "张小九",
                        url: " https://music.163.com/song/media/outer/url?id=487885426.mp3",
                        cover: "https://p1.music.126.net/4y7L-7u0MYecYqjY_k8AYg==/109951162962767182.jpg"
                    },
                    {
                        name: "四块五",
                        artist: "隔壁老樊",
                        url: " https://music.163.com/song/media/outer/url?id=1365221826.mp3",
                        cover: "https://p1.music.126.net/gNbAlXamNjhR2j3aOukNhg==/109951164232796511.jpg"
                    },
                    {
                        name: "The truth that you leave",
                        artist: "Pianoboy高至豪",
                        url: " https://music.163.com/song/media/outer/url?id=139774.mp3",
                        cover: "https://p1.music.126.net/9idkdzbel_-lYBP7Dv_dVQ==/102254581395289.jpg"
                    },
                    {
                        name: "Take me hand",
                        artist: "ninini",
                        url: " https://music.163.com/song/media/outer/url?id=26092806.mp3",
                        cover: "https://p1.music.126.net/AoVFMKkLVMOmTMo_A6x02g==/109951163403515653.jpg"
                    }
                ]
            }
        ],
        ["vuepress-plugin-smooth-scroll"], // 平滑滚动
        ["@vuepress/nprogress"], // 加载进度条
        ["vuepress-plugin-code-copy", true]
    ]
}